<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>优购商城</title>
<!--载入css样式-->
<link rel="stylesheet" type="text/css" href="Public/Home/css/base.css"/>
<link rel="stylesheet" type="text/css" href="Public/Home/css/userCenter.css"/>
<link rel="stylesheet" type="text/css" href="Public/Home/css/information.css"/>
</head>
<body>
<!--头部公用模板-->
{{include file='VIEW_PATH/Common/header.php'}}

<!--用户中心内容部分-->
<div id="center">
	<!--位置路径-->
	<div class="site">
		您当前的位置：
		<a href="{{U('Index/index')}}">首页</a>
		><a href="{{U('UserCenter/index')}}">我的优购</a>
		>个人资料
	</div>
	<!--用户中心显示区-->
	<div class="user_center">
		<!--左侧公共部分-->
		{{include file='VIEW_PATH/UserCenter/UserCenterSider.php'}}
		<!--右侧公共部分-->
		<div id="information" class="center_body fr">
			<form action="" method="post">
				<div class="form_title">
					<span class="on">个人资料</span>
				</div>
				<div class="form_con">
					<div class="row">
						<label for="">邮箱：</label>
						<span>{{$inforData['email']}}</span>
					</div>
					<div class="row">
						<label for="">手机号码：</label>
						<span></span>
					</div>
					<div class="row">
						<label for="">会员积分：</label>
						<span>{{$inforData['points']}}</span>
						<span style="padding-left: 28px;">
							<a href="">查看积分说明</a>
						</span>
					</div>
					<div class="row">
						<label for="">真实姓名：</label>
						<span>
							{{if value="$inforData['relname']"}}
							<input style="width: 200px;" type="text" name="relname" class="rel_name" value="{{$inforData['relname']}}" />
							{{else}}
							<input style="width: 200px;" type="text" name="relname" class="rel_name" value="" />
							{{endif}}
						</span>
					</div>
					<div class="row">
						<label for="">性别：</label>
						<span>
							<input style="margin-right:3px; padding-top:0" {{if value="$inforData['sex'] eq '男'"}}checked="checked"{{endif}} value="男" name="sex" type="radio">男
							<input style="margin-right:3px; margin-left:10px; padding-top:0" value="女" name="sex" {{if value="$inforData['sex'] eq '女'"}}checked="checked"{{endif}} type="radio">女
						</span>
					</div>
					<div class="row">
						<label for="">出生日期：</label>
						<div class="collec">
							<span>
								<select class="valid" id="year" name="birthyear">
								</select>
							</span>
							<span>年&nbsp;</span>
						    <span>
						    	<select class="valid" id="month" name="birthmonth">
						    	</select>
						    </span>
						    <span>月&nbsp;</span>
						    <span>
						    	<select class="valid" id="date" name="birthday">
						    	</select>
						    </span>
						    <span>日&nbsp;</span>
					    </div>
					</div>
					<div class="row">
						<label for="">所在地区：</label>
						<span id="districtSpan">
								<select style="width:80px;" name="province" id="area1">
								</select>
								<select style="width:auto;" name="city" id="area2">
								</select>
								<select style="width:auto;" name="district" id="area3">
								</select>
						</span>
					</div>
					<div class="row">
						<label for="">详细地址：</label>
						<span>
							{{if value="$inforData['detail']"}}
							<input style="width: 330px;" type="text" name="detail" value="{{$inforData['detail']}}" />
							{{else}}
							<input style="width: 330px;" type="text" name="detail" value="" />
							{{endif}}
						</span>
					</div>
					<div class="row">
						<label for="">邮政编码：</label>
						<span>
							{{if value="$inforData['detail']"}}
							<input style="width: 120px;" type="text" name="postcode" value="{{$inforData['postcode']}}" />
							{{else}}
							<input style="width: 120px;" type="text" name="postcode" value="" />
							{{endif}}
						</span>
					</div>
					<div class="row">
						<input class="submit_btn" type="submit" value="保存" />
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
<!--时间联动-->
<script src="Public/Home/js/YMDClass.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	{{if value="$inforData['birthyear'] AND $inforData['birthmonth'] AND $inforData['birthday']"}}
	new YMDselect('birthyear','birthmonth','birthday',{{$inforData['birthyear']}},{{$inforData['birthmonth']}},{{$inforData['birthday']}}); 
	{{else}}
	new YMDselect('birthyear','birthmonth','birthday'); 
	{{endif}}
</script>
<script src="Public/Home/js/area.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
//	地区初始化
	area.init('area');
	{{if value="$inforData['province'] AND $inforData['city'] AND $inforData['district']"}}
	area.selected("{{$inforData['province']}}","{{$inforData['city']}}","{{$inforData['district']}}");
	{{endif}}
</script>

<!--底部公用模板-->
{{include file='VIEW_PATH/Common/footer.php'}}
</body>
</html>
















